<!doctype html>
<html>
	<head>
		<meta charset="uft-8">
		<title></title>
		<style>
			body{
				margin:0px;
				padding:0px;
			}
			.d1{
				width:400px;height:400px;
				background:#f00;
				margin:30px;
				position:relative;
			}
			.d2{
				width:200px;height:200px;
				background:#00f;
				position:absolute;
				top:10px;
				left:10px;
			}
			.d3{
				width:100px;height:100px;
				background:#ff0;
				position:absolute;
				top:10px;
				left:10px;
			}
		</style>
	</head>
	<body>
		<div class="d1">
			<div class="d2">
				<div class="d3"></div>
			</div>	
		</div>


	</body>
</html>